package com.tmxk.day01.lifeng.demo4;

public class Test {
	public static void main(String[] args) {
		Dog dog = new Dog("饶嘉涛", 2, "二哈","巨型");
		//所有的对象实例都隐式调用了toString方法
		System.out.println("dog" + dog.toString());
		dog.showInfo();
		dog.shout();
	}
}
